import QtQuick
import QtQuick.Controls
import Qt5Compat.GraphicalEffects

Item {
    id: root
    property string imgSource: "../resources/images/1.jpg"
    property int imgFillMode: Image.PreserveAspectCrop
    property int radius: 50

    anchors.fill: parent

    Image {
        id: blurImage
        source: root.imgSource
        visible: false
        anchors.fill: parent
        fillMode: root.imgFillMode
    }

    FastBlur {
        anchors.fill: blurImage
        source: blurImage
        radius: root.radius
    }
}
